﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DynCMS.NET.Core.Entities.Base
{
    /// <summary>
    /// Base class for all persistable entities with autoincrementing identity
    /// </summary>
    /// <remarks>Serves as abstraction of all entities that are persisted with identity column</remarks>
    public abstract class EntityWithAutoId : PersistableEntity
    {
        /// <summary>
        /// Gets or sets the Id.
        /// </summary>
        /// <value>The Id.</value>
        public int Id
        {
            get;
            set;
        }
    }
}